from bs4 import BeautifulSoup
from urllib.request import urlopen
html = urlopen("https://morvanzhou.github.io/static/scraping/list.html").read().decode('utf-8')
# print(html)
soup = BeautifulSoup(html,features='lxml')
month = soup.find_all('li',{'class':'month'})
for m in month:
    print(m.get_text())

jan = soup.find('ul',{'class':'jan'})
day_jan = jan.find_all('li')
print("\n一月几号：")
for day in day_jan:
    print(day.get_text())

# 结合BeautifulSoup和正则表达式进行匹配
